module.exports = {
  EnumDic: {
    ControlType: 'ControlType',
    ControlStatus: 'ControlStatus',
    ControlValueRange: 'ControlValueRange',
    FormStatus: 'FormStatus',
    FormTableType: 'FormTableType',
    ValidateRuleType: 'ValidateRuleType',
    FiexdType: 'ColumnFiexdType',
    RowGenerateMode: 'TableRowGenerateMode',
    FormType: 'FormType',
    PhyTableDataType: 'PhyTableDataType',
    PhyColShowMode: 'PhyColShowMode',
    FormColumnFuncType: 'FormColumnFuncType',
    QueryFilterMode: 'QueryFilterMode',
    FormDefValType: 'FormDefValType',
    ColAlign: 'ColAlign',
    FormStateControl: 'FormStateControl',
    PageStatus: 'FormPageStatus',
    PageNumMag: 'PageNumMag',
    PageChartType: 'PageChartType',
    ChartLegendPosition: 'ChartLegendPosition',
    ChartTitleAlign: 'ChartTitleAlign',
    ChartMarkLineValType: 'ChartMarkLineValType',
    PageFuncType: 'PageFuncType',
    PageFilterMode: 'PageFilterMode'
  },
  layoutControl: {
    row: '6',
    tab: '7',
    tabs: '5',
    card: '4',
    search: '11'
  },
  basicControl: {
    signpost: '10'
  },
  DictItemDic: {
    controlDefVal: '8',
    formClassify: '11',
    pageClassify: '213221186585733'
  },
  PageControlClassify: [
    {
      text: '报表控件',
      value: '01'
    },
    {
      text: '布局控件',
      value: '02'
    },
    {
      text: '功能控件',
      value: '03'
    },
    {
      text: '筛选控件',
      value: '04'
    }
  ],
  QueryFilterMode: {
    0: {
      text: '等于',
      value: 0
    },
    1: {
      text: '大于',
      value: 1
    },
    2: {
      text: '大于等于',
      value: 2
    },
    3: {
      text: '小于',
      value: 3
    },
    4: {
      text: '小于等于',
      value: 4
    },
    5: {
      text: 'Between',
      value: 5
    },
    6: {
      text: '模糊匹配',
      value: 6
    },
    7: {
      text: '匹配开头',
      value: 7
    },
    8: {
      text: '匹配结尾',
      value: 8
    }
  },
  PhyColShowMode: {
    0: {
      text: 'Column',
      value: 0
    },
    1: {
      text: 'EmpName',
      value: 1
    },
    2: {
      text: 'DeptName',
      value: 2
    },
    3: {
      text: 'UnitName',
      value: 3
    },
    4: {
      text: 'DeptAndUnit',
      value: 4
    },
    5: {
      text: 'DictItemName',
      value: 5
    },
    6: {
      text: 'DictTreeName',
      value: 6
    },
    7: {
      text: 'DictItem',
      value: 7
    }
  },
  ControlStatus: {
    0: {
      text: '起草',
      value: 0,
      color: '#82848a'
    },
    1: {
      text: '已启用',
      value: 1,
      color: '#43AF2B'
    },
    2: {
      text: '已停用',
      value: 2,
      color: '#e4393c'
    }
  },
  FormStatus: {
    0: {
      text: '起草',
      value: 0,
      color: '#82848a'
    },
    1: {
      text: '已启用',
      value: 1,
      color: '#43AF2B'
    },
    2: {
      text: '已停用',
      value: 2,
      color: '#e4393c'
    }
  },
  noLabelType: [3, 7, 8, 9, 10, 15],
  ControlType: {
    input: {
      value: 0
    },
    number: {
      value: 1
    },
    text: {
      value: 2
    },
    label: {
      value: 3
    },
    date: {
      value: 4
    },
    time: {
      value: 5
    },
    switch: {
      value: 6
    },
    emp: {
      value: 7
    },
    dept: {
      value: 8
    },
    company: {
      value: 9
    },
    customize: {
      value: 10
    },
    dateTime: {
      value: 11
    },
    checkbox: {
      value: 12
    },
    radio: {
      value: 13
    },
    rato: {
      value: 14
    },
    upload: {
      value: 15
    },
    select: {
      value: 17
    },
    hidden: {
      value: 18
    }
  },
  PageStatus: {
    0: {
      text: '起草',
      value: 0,
      color: '#82848a'
    },
    1: {
      text: '已启用',
      value: 1,
      color: '#43AF2B'
    },
    2: {
      text: '已停用',
      value: 2,
      color: '#e4393c'
    }
  }
}
